package com.java80.springmall.cloud.zuul.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class WebController {
	@GetMapping("/web/index")
	public ModelAndView index(){
		ModelAndView mav=new ModelAndView("index");
		return mav;
	}
	@GetMapping("/web/login")
	public ModelAndView login(){
		ModelAndView mav=new ModelAndView("login");
		return mav;
	}
	@GetMapping("/web/productlist")
	public ModelAndView productlist(){
		ModelAndView mav=new ModelAndView("productlist");
		return mav;
	}
}
